import 'package:plugin_platform_interface/plugin_platform_interface.dart';

import 'security_defend_wall_method_channel.dart';

abstract class SecurityDefendWallPlatform extends PlatformInterface {
  /// Constructs a SecurityDefendWallPlatform.
  SecurityDefendWallPlatform() : super(token: _token);

  static final Object _token = Object();

  static SecurityDefendWallPlatform _instance = MethodChannelSecurityDefendWall();

  /// The default instance of [SecurityDefendWallPlatform] to use.
  ///
  /// Defaults to [MethodChannelSecurityDefendWall].
  static SecurityDefendWallPlatform get instance => _instance;

  /// Platform-specific implementations should set this with their own
  /// platform-specific class that extends [SecurityDefendWallPlatform] when
  /// they register themselves.
  static set instance(SecurityDefendWallPlatform instance) {
    PlatformInterface.verifyToken(instance, _token);
    _instance = instance;
  }

  Future<String?> getPlatformVersion() {
    throw UnimplementedError('platformVersion() has not been implemented.');
  }

  Future<bool> isTampered(String signature, String iosTeamId) {
    throw UnimplementedError('isTampered has not been implemented.');
  }

  Future<bool> isRooted() {
    throw UnimplementedError('isRooted() has not been implemented.');
  }

  Future<bool> isEmulator() {
    throw UnimplementedError('isEmulator() has not been implemented.');
  }

  Future<bool> isDebugged() {
    throw UnimplementedError('isDebugged() has not been implemented.');
  }
}
